package com.wjk.kylin.mall.admin.mapper;

import com.wjk.kylin.mall.admin.entity.MenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author wangjinkui
 * @since 2021-11-21
 */
@Mapper
public interface MenuMapper extends BaseMapper<MenuEntity> {

    List<String> findMenuPermsByUserId(Long userId);

    List<MenuEntity> findMenu();

    List<MenuEntity> findMenuByUserId(Long userId);

    List<String> findMenuPermsList();
}
